#-------------------------------------------------
#
# Project created by QtCreator 2015-09-22T10:26:51
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = qfastboot
TEMPLATE = app

SOURCES += main.cpp\
        MainWidget.cpp \
    fastboot/protocol.c \
    fastboot/engine.c \
    fastboot/bootimg.c \
    fastboot/util_windows.c \
    fastboot/usb_windows.c \
    libzipfile/zipfile.c \
    libzipfile/centraldir.c \
    fastboot/fastboot.cpp \
    fastboot/FastbootThread.cpp

HEADERS  += MainWidget.h \
    fastboot/FastbootThread.h \
    fastboot/usb.h \
    fastboot/fastboot.h

FORMS    += MainWidget.ui

RC_FILE += winrc.rc

RESOURCES += \
    res.qrc

INCLUDEPATH +=  \
    ../qfastboot/development/host/windows/usb/api \
    ../qfastboot/mkbootimg \
    ../qfastboot/libzipfile \
    ../qfastboot/external/zlib \
    ../qfastboot/system/core/include

LIBS +=  \
    -L../qfastboot \
    -lAdbWinApi

TRANSLATIONS +=  \
    zh_CN.ts

